﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JU.MODEL
{
    public class OrderGoods
    {
        /// <summary>
        /// 订单商品列表Id。自增，起始值为1，增长值为1
        /// </summary>		
        private int _ordergoodsid;
        public int OrderGoodsId
        {
            get { return _ordergoodsid; }
            set { _ordergoodsid = value; }
        }

        /// <summary>
        /// 订单Id
        /// </summary>		
        private int _orderid;
        public int OrderId
        {
            get { return _orderid; }
            set { _orderid = value; }
        }

        /// <summary>
        /// 商品Id
        /// </summary>		
        private int _goodsid;
        public int GoodsId
        {
            get { return _goodsid; }
            set { _goodsid = value; }
        }

        /// <summary>
        /// 商品数量，默认为1
        /// </summary>		
        private int _goodsquantity;
        public int GoodsQuantity
        {
            get { return _goodsquantity; }
            set { _goodsquantity = value; }
        }

        /// <summary>
        /// 商品单价
        /// </summary>		
        private decimal _unitprice;
        public decimal UnitPrice
        {
            get { return _unitprice; }
            set { _unitprice = value; }
        }

        /// <summary>
        /// 是否删除，默认为0，意为未删除
        /// </summary>		
        private bool _isdel;
        public bool IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
    }
}
